﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nuzzle.Protocol.Messages.Game.Chat
{
    public class ChatAbstractServerMessage : NetworkMessage
    {
        public ChatAbstractServerMessage(byte channel, string content, int timestamp, string fingerprint,
            NetworkMessageID protocolHover)
            : base(protocolHover)
        {
            base.WriterBuffer.writeByte(channel);
            base.WriterBuffer.writeUTF(content);
            base.WriterBuffer.writeInt(timestamp);
            base.WriterBuffer.writeUTF(fingerprint);
        }
    }
}
